<?php
/**
 * @Notes:【】
 * @Date: 2022-06-03 15:31
 */

namespace Yj\Generator\Core\Common\Template\Traits;

use Yj\Generator\Core\Common\Template\DocBlockTemplate;

trait DocBlockTrait
{
    /**
     * @var DocBlockTemplate
     */
    protected $docBlock;

    /**
     * @return DocBlockTemplate
     */
    public function getDocBlock(): DocBlockTemplate
    {
        return $this->docBlock;
    }

    /**
     * @param DocBlockTemplate $docBlock
     */
    public function setDocBlock(DocBlockTemplate $docBlock): void
    {
        $this->docBlock = $docBlock;
    }
}